package com.cg.service;

import com.cg.entities.User;
import com.cg.input.UserId;
import com.cg.input.LoginInput;
import com.cg.input.UserInput;

/**
 * @author cheyinbo
 * @description TODO
 * @date 2021/6/24 15:38
 */
public interface UserService {

    User login(LoginInput loginInput);

    User queryUser(UserId userId);

    User insertUser(UserInput userInput);

    Boolean deleteUser(UserId userId);

    Boolean updateUser(UserInput userInput);

}
